/*
var mqtt = require('mqtt');

//create client
var client = mqtt.createClient(1883, "localhost");
client.publish('presence', ' 3');
client.publish('presence', ' 3');*/


/*
var xlsx = require('node-xlsx');

var xlsx = xlsx.parse('../public/uploads/3dcd2ca853c6ab32524143b6ec8778a5.xlsx')[0].data;

console.log(xlsx);*/


var arr = [1,2,3,4,5];

arr = arr.slice(1,arr.length-1);
console.log(arr);
console.log(arr.slice(1,arr.length));

var ss = 'xxx,ss,dd,sasa,';

console.log(ss.substring(0,ss.length-1));